package day04_api_code.com.itheima.d3_math;

public class MathTest {
    public static void main(String[] args) {
        System.out.println("Math.abs(-10) = " + Math.abs(-10));
        System.out.println("Math.abs(123) = " + Math.abs(123));
        System.out.println("Math.ceil(0.0001) = " + Math.ceil(0.0001));
        System.out.println("Math.floor(0.99999) = " + Math.floor(0.99999));
        System.out.println("Math.round(3.4444) = " + Math.round(3.4444));
        System.out.println("Math.max(10, 20) = " + Math.max(10, 20));
        System.out.println("Math.min(10, 20) = " + Math.min(10, 20));
        System.out.println("Math.pow(1, 3) = " + Math.pow(1, 3));
        System.out.println("Math.pow(3, 2) = " + Math.pow(3, 2));
        System.out.println("Math.random() = " + Math.random());
    }
}
